package com.new_wear.project.system.enforcement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.new_wear.framework.aspectj.lang.annotation.Excel;
import com.new_wear.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 执法人员信息对象 enforcement
 * 
 * @author new_wear
 * @date 2019-12-23
 */
public class Enforcement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 执法人员名称 */
    @Excel(name = "执法人员名称")
    private String name;

    /** 年纪 */
    @Excel(name = "年纪")
    private String age;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idcard;

    /** 执法编号 */
    @Excel(name = "执法编号")
    private String number;

    /** 名族 */
    @Excel(name = "名族")
    private String famousrace;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativeplace;

    /** 出生年月 */
    @Excel(name = "出生年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateofbirth;

    /** 入职时间 */
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entrydata;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyname;

    /** 职别 */
    @Excel(name = "职别")
    private String officialrank;

    /** 证件有效期止 */
    @Excel(name = "证件有效期止", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validity;

    /** 预留 */
    @Excel(name = "预留")
    private String reserve4;

    /** 预留2 */
    @Excel(name = "预留2")
    private String reserve3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }
    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setFamousrace(String famousrace) 
    {
        this.famousrace = famousrace;
    }

    public String getFamousrace() 
    {
        return famousrace;
    }
    public void setNativeplace(String nativeplace) 
    {
        this.nativeplace = nativeplace;
    }

    public String getNativeplace() 
    {
        return nativeplace;
    }
    public void setDateofbirth(Date dateofbirth) 
    {
        this.dateofbirth = dateofbirth;
    }

    public Date getDateofbirth() 
    {
        return dateofbirth;
    }
    public void setEntrydata(Date entrydata) 
    {
        this.entrydata = entrydata;
    }

    public Date getEntrydata() 
    {
        return entrydata;
    }
    public void setCompanyname(String companyname) 
    {
        this.companyname = companyname;
    }

    public String getCompanyname() 
    {
        return companyname;
    }
    public void setOfficialrank(String officialrank) 
    {
        this.officialrank = officialrank;
    }

    public String getOfficialrank() 
    {
        return officialrank;
    }
    public void setValidity(Date validity) 
    {
        this.validity = validity;
    }

    public Date getValidity() 
    {
        return validity;
    }
    public void setReserve4(String reserve4) 
    {
        this.reserve4 = reserve4;
    }

    public String getReserve4() 
    {
        return reserve4;
    }
    public void setReserve3(String reserve3) 
    {
        this.reserve3 = reserve3;
    }

    public String getReserve3() 
    {
        return reserve3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("age", getAge())
            .append("idcard", getIdcard())
            .append("number", getNumber())
            .append("famousrace", getFamousrace())
            .append("nativeplace", getNativeplace())
            .append("dateofbirth", getDateofbirth())
            .append("entrydata", getEntrydata())
            .append("companyname", getCompanyname())
            .append("officialrank", getOfficialrank())
            .append("validity", getValidity())
            .append("reserve4", getReserve4())
            .append("reserve3", getReserve3())
            .toString();
    }
}
